package com.zhonglz.designPattern.observer.listener;

import org.springframework.stereotype.Component;

import com.zhonglz.designPattern.observer.event.ModelEvent;

/***
 * 一个model事件的监听器
 * @author Administrator
 *
 */
@Component
public class ModelEventListenerA implements EventListener<ModelEvent> {

	@Override
    public void process(ModelEvent event) {
        System.out.println("process 1." + event.getSource());
    }
}
